Revert "Fix patient query bug that was breaking dashboard view"
Revert "Fix patient query bug that was breaking dashboard view"

This reverts commit 0e9951033aae0297178b25292b108a3cc834fb6e.

igiveadamn/ccdb,igiveadamn/ccdb,igiveadamn/ccdb