Fixed has_sub_field bug

http://support.advancedcustomfields.com/discussion/5325/options-with-repeater-and-flexible-content-combined-problems
Signed-off-by: Elliot Condon <e@elliotcondon.com>