Fixed bug causing incorrect data from both has_sub_field and have_rows when used in a WP_Query loop

Signed-off-by: Elliot Condon <e@elliotcondon.com>