Fixed db call on current status column to not look into the future