db_cluster: fix caseness in testing the connection flags for reading

- on a report generated by cppcheck sent by David Binderman