hsite: Fixed needs-insert query.