Make sure that if you're going through that no more than three other females have passed before you without being taken aside. The new policy being enforced in Barajas Airport is every fourth "suspicious" character is taken aside by the Guardia Civil for "interrogation". This usually involves a thorough searching of belongings and possible strip/body search. Read about it
HERE