Fixing postgres status check for F17