Fixes the butterfly placement validation logic