Added a small fix when doing a select.