prevent faulty SQL statement when #siblings is called on an unsaved records

Allow #siblings to be called on unsaved models. This becomes relevant when #siblings is used in custom validations (which will run before the model has an ID). This PR fixes the faulty SQL that is constructed by #siblings when the model hasn't yet received an ID.