Repair asset limiting by request tags, add unit test coverage.

I reproduced the discussed issue with tags not filtering assets correctly. Created unit tests to confirm issue, and then fixed. One line change of course.