findAndCountAll empty include error fixed.

Fix for #2706.