fix for issue 2, the mysterious '1'

Fix for https://github.com/Gmattgreenfield/Filtered-Catalogue-WP-Plugin/issues/2

credit to @AidanThreadgold