Advanced search appears to OR the fields instead of AND them
I'm running into trouble with Advanced Search:
I've got a Document Type which has 600+ Documents.
If I search for that document type in the Document Type field, I get 100 results. OK
If I search for a particular metadata value, which applies to 5 of those documents, I get 5 results. OK.
If I search using both Document Type=MyType and Metadata Value = MyValue, I get 100 results again.
I should get only the 5 results(Document Type AND Metadata Value), not 100(Document Type OR Metadata Value).
I've tried this with Label, Metadata Type, Metadata Value, and Document Type fields - all seem to produce the same results.
I am currently running Mayan Version 2.1.11, from pip. I'm running it via virtualenv.
pip freeze:
Django==1.8.15 MySQL-python==1.2.5 Pillow==3.1.2 PyYAML==3.11 amqp==1.4.9
anyjson==0.3.3 argparse==1.2.1 billiard==3.3.0.23 celery==3.1.19 cssmin==0.2.0
django-activity-stream==0.6.0 django-appconf==1.0.2 django-auth-ldap==1.2.7 django-autoadmin==1.1.1 django-celery==3.1.17
django-colorful==1.1.0 django-compressor==2.0 django-cors-headers==1.1.0 django-downloadview==1.9 django-filetransfers==0.1.0
django-formtools==1.0 django-model-utils==2.4 django-mptt==0.8.7 django-pure-pagination==0.3.0 django-qsstats-magic==0.7.2
django-rest-swagger==0.3.4 django-solo==1.1.2 django-stronghold==0.2.7 django-suit==0.2.16 django-widget-tweaks==1.4.1
djangorestframework==3.3.2 djangorestframework-recursive==0.1.1 fusepy==2.0.2 kombu==3.0.37 mayan-edms==2.1.11
pdfminer==20140328 pycountry==1.19 pytesseract==0.1.6 python-dateutil==2.4.2 python-gnupg==0.3.9
python-ldap==2.4.32 python-magic==0.4.10 pytz==2015.4 rcssmin==1.0.6 requests==2.13.0
rjsmin==1.0.12 sh==1.11 six==1.10.0 wsgiref==0.1.2