Solved problem with array diff throwing array to string conversion notice, plus added possibility of defining string keys for whereIn