Fix resource action ordering