Just a guess: try to check the type of listingStatus, maybe it's not an integer and type casting is needed here