BaseActiveRecordVersionedSoftDelete::notDeletedOrPk accepts arrays or ints else returns notDeleted only
Merge branch 'develop' into jira/3987